package day04.concurrent01;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

/**
 * 2ConcurrentMap
 */
public class Demo02 {
    public static void main(String[] args) {
        ConcurrentMap<String,String> map = new ConcurrentHashMap<>();
        map.put("a","1");
        String x = map.get("a");
        System.out.println(x);
    }
}
